<div class="container-fluid">
    <br />
    <div id="DevicePackage1" class="well">
        <div id="device_info_tab">
            <div class="bg-danger">
                <p class="text-warning">Can I have ur phone please??</p>
                <button class="btn btn-success" type="button" onclick='refresh_device()'>Refresh</button>
            </div>
        </div>
        <br />
        <div id="pkg_info">
            <div class="bg-danger">
                <p class="text-warning"><i class="glyphicon glyphicon-book"></i> Can I have ur package please?</p>
                <div class="input-group col-sm-3">
                    <input id="packagename1" class="form-control" placeholder="packagename">
                    <span class="input-group-btn">
                        <button class="btn btn-success" type="button" onclick='changePackage($("#packagename1").val())'>Confirm</button>

                      </span>
                </div>
                <br>
            </div>
        </div>
    </div>
    <br />
    <p class="text-primary"><i class="glyphicon glyphicon-info-sign"></i> Env:</p>
    <div id="env_result">
        <br />Waiting for device & package...</div>
    <script>
    doEnv();
    </script>
    <br />
    <button class="btn btn-info" onclick="doEnv();">Refresh</button>
</div>